package goodbaby.dklt;

import android.app.Application;

import com.classic.core.utils.DeviceUtil;
import com.classic.core.utils.SDcardUtils;
import com.classic.core.utils.ScreenUtil;
import com.classic.okhttp.gbb.http.ActionHelp;

import goodbaby.dklt.customerview.ImageLoaderUtil;

/**
 * Created by Administrator on 2016/4/18.
 */
public class GbbApplication extends Application {
    @Override
    public void onCreate() {
        super.onCreate();
        //sd卡初始化
        SDcardUtils.init();
        //初始化屏幕数据
        ScreenUtil.GetInfo(this);
        ImageLoaderUtil.initImageLoader(this, null);
        GbbCache.setContext(this);
        ActionHelp.init(String.valueOf(DeviceUtil.getInstance(this)), "", false);
    }
}
